package com.nameless.feign;

import com.nameless.entity.Client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author WHZ
 * @date 2023年03月02日 10:22
 */
@FeignClient("car-customer")
public interface ClientFeign {
    @GetMapping("/client/api/selectname/{username}")
    Client getUsername(@PathVariable String username);
}
